package org.fastsyncer.common.entity;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

public class DataSourceConfig implements Serializable {

	private static final long serialVersionUID = 1768242426510437724L;
	
	private String driverClassName;
	private String url;
	private String table;
	private String primaryKey;
	private String username;
	private String password;
	private List<HashMap<String, Object>> column;

	public DataSourceConfig() {
		super();
	}

	public DataSourceConfig(String driverClassName, String url, String table, String primaryKey, String username, String password) {
		super();
		this.driverClassName = driverClassName;
		this.url = url;
		this.table = table;
		this.primaryKey = primaryKey;
		this.username = username;
		this.password = password;
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	public String getPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(String primaryKey) {
		this.primaryKey = primaryKey;
	}

	public String getDriverClassName() {
		return driverClassName;
	}

	public void setDriverClassName(String driverClassName) {
		this.driverClassName = driverClassName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public List<HashMap<String, Object>> getColumn() {
		return column;
	}

	public void setColumn(List<HashMap<String, Object>> column) {
		this.column = column;
	}

}
